
import { Injectable } from '@angular/core';
import { ViewModel, NgCommand } from '@farris/devkit';
import { Observable } from 'rxjs';

import { LeftTreeGridComponentViewmodel } from './lefttreegridcomponentviewmodel';

import { RightDataGridComponentViewmodel } from './rightdatagridcomponentviewmodel';

@Injectable()
export class RootViewmodel extends ViewModel {
    public bindingPath = '/';
    public dom = {};
    public childViewModels = {
        'LeftTreeGridComponentViewmodel' : 'leftTreeGridComponentViewmodel',
        'RightDataGridComponentViewmodel' : 'rightDataGridComponentViewmodel'
    }
    public leftTreeGridComponentViewmodel: LeftTreeGridComponentViewmodel;
    public rightDataGridComponentViewmodel: RightDataGridComponentViewmodel;
}